<?php
require_once DOCUMENT_ROOT . DIR_SHARED_LIBRARIES . 'lib_redirect.php';

if (empty($_SESSION['book_info']['status']) 
        || $_SESSION['book_info']['status'] !== "started"
        || empty($_SESSION['user_login'])
        || $_SESSION['user_login'] !== "logined") {
    lib_redirect::Redirect('/login.php');
}